﻿<%@ Page Language="C#" MasterPageFile="~/BasicBase/BasicBase.master" AutoEventWireup="true" CodeFile="SortStat.aspx.cs" StylesheetTheme="Content"  Inherits="BasicBase_SocLinke_SortStat" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<link rel="stylesheet" type="text/css" href="easyUI/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="easyUI/themes/icon.css">
	<script type="text/javascript" src="easyUI/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="easyUI/jquery.easyui.min.js"></script>
		<script language="javascript">
		$(function(){
		$('#dep').combobox({
				url:'SocLinke.ashx?act=dep&dep=<%=GetDepartmentid() %>&m'+Math.random(),
				valueField:'id',
				width:'150',
				textField:'text'
			});
			$('#dep').combobox({onChange:function(newValue){
				if(newValue=='1300000')
				{
					$('#quanTD').html("包含下属单位：<input name=\"quan\" type=\"checkbox\" value=\"1\" />");
				}else if(newValue.substr(4,3)=='000')
				{
					$('#quanTD').html("包含下属单位：<input name=\"quan\" type=\"checkbox\" value=\"1\" />");
				}
				else
				{
					$('#quanTD').html("");
				}
			}});
		});
		</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="80">录入单位：</td>
    <td width="150"><select id="dep"   name="dep" style="width:150px;">
	</select></td>
    <td id="quanTD" width="120">&nbsp;</td>
    <td align="left"><asp:Button ID="Button1" runat="server" Text="统计" onclick="Button1_Click" /></td>
  </tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" class="dialog" width="770px">
        <caption>
            <span>社会联动信息统计表</span></caption>
</table>
<table width="99.8%" border="0" cellspacing="0" cellpadding="0">
  <tr class="grid_header">
    <td  height="25" width="160" align="center">类别</td>
    <td align="left">统计信息</td>
  </tr>
  <%=rs %>
</table>
</asp:Content>

